package com.leonzx.base.entity.system;

import com.leonzx.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @Author:李晓雷
 * @Description:
 * @Date: 18/07/11 14:22
 */
@Table(name = "base_file_online")
public class FileOnline extends BaseEntity {
    @Column(name = "name")
    private String name;
    @Column(name = "path")
    private String path;
    @Column(name = "state")
    private Integer state;

    @Transient
    private String createTimeStr;
    @Transient
    private String createUserName;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getCreateTimeStr() {
        return createTimeStr;
    }

    public void setCreateTimeStr(String createTimeStr) {
        this.createTimeStr = createTimeStr;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }
}
